package com.ruoyi.system.pojo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 追踪记录对象 trace_history
 * 
 * @author sxb
 * @date 2024-01-24
 */
public class TraceHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 追踪历史ID */
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 跟踪时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟踪时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traceTime;

    /** 负责人 */
    @Excel(name = "负责人")
    private String teacher;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setTraceTime(Date traceTime) 
    {
        this.traceTime = traceTime;
    }

    public Date getTraceTime() 
    {
        return traceTime;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentName", getStudentName())
            .append("studentId", getStudentId())
            .append("traceTime", getTraceTime())
            .append("teacher", getTeacher())
            .append("description", getDescription())
            .toString();
    }
}
